package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.api.domain.SysDept;

import java.util.List;

public interface DeptService extends IService<SysDept> {

    List<SysDept> selectDeptList(SysDept dept);

    void checkDeptDataScope(Long deptId);

    boolean checkDeptNameUnique(SysDept dept);

    int selectNormalChildrenDeptById(Long deptId);

    int updateDept(SysDept dept);
}
